<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        ::selection {
            color: red
        }
    </style>
</head>

<body>
    <div>

        <p>8958932
            <span>88</span><span>9999</span>
        </p>
        <p>
            <span>88</span>
        </p>
    </div>
    <button onclick="setStorage()">点我设置storage</button>
    <script>
        sessionStorage.setItem('zzy', 'hhhh')
        function setStorage() {
            sessionStorage.setItem('ooo', '888')
        }
        let ans = []
        let arr = [1, [2, [3, [4, 5]]], 6]
        function flattenArrOne(arr, level) {
            arr.forEach(item => {
                if (level === 0 && Array.isArray(item)) {
                    flattenArrOne(item, level + 1)
                } else {
                    ans.push(item)
                }
            })
        }
        flattenArrOne(arr, 0)
        console.log(ans);
        let brr = []
        console.log(brr.concat(11));
    </script>
</body>

</html>